package exercise;


public class Cooker implements Runnable{
	private Desk d;
	
	public Cooker(Desk d) {
		super();
		this.d = d;
	}

	@Override
	public void run() {
		try {
			d.produce();
		} catch (Exception e) {
			e.printStackTrace();
		}
		
	}
	
}
